.class Lcom/opongo/blogapp/activities/RecentPostsListActivity$1;
.super Landroid/content/BroadcastReceiver;
.source "RecentPostsListActivity.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/opongo/blogapp/activities/RecentPostsListActivity;->onCreate(Landroid/os/Bundle;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/opongo/blogapp/activities/RecentPostsListActivity;


# direct methods
.method constructor <init>(Lcom/opongo/blogapp/activities/RecentPostsListActivity;)V
    .locals 0
    .parameter

    .prologue
    .line 1
    iput-object p1, p0, Lcom/opongo/blogapp/activities/RecentPostsListActivity$1;->this$0:Lcom/opongo/blogapp/activities/RecentPostsListActivity;

    .line 41
    invoke-direct {p0}, Landroid/content/BroadcastReceiver;-><init>()V

    return-void
.end method


# virtual methods
.method public onReceive(Landroid/content/Context;Landroid/content/Intent;)V
    .locals 4
    .parameter "c"
    .parameter "i"

    .prologue
    .line 45
    invoke-virtual {p2}, Landroid/content/Intent;->getExtras()Landroid/os/Bundle;

    move-result-object v0

    .line 46
    .local v0, e:Landroid/os/Bundle;
    iget-object v1, p0, Lcom/opongo/blogapp/activities/RecentPostsListActivity$1;->this$0:Lcom/opongo/blogapp/activities/RecentPostsListActivity;

    const-string v2, "POST_ID"

    invoke-virtual {v0, v2}, Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    invoke-static {v2}, Ljava/lang/Integer;->valueOf(Ljava/lang/String;)Ljava/lang/Integer;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/Integer;->intValue()I

    move-result v2

    iput v2, v1, Lcom/opongo/blogapp/activities/RecentPostsListActivity;->post_id:I

    .line 47
    sget-boolean v1, Lcom/opongo/blogapp/activities/RecentPostsListActivity;->DEBUG:Z

    if-eqz v1, :cond_0

    .line 48
    invoke-static {}, Lcom/opongo/blogapp/activities/RecentPostsListActivity;->access$0()Ljava/lang/String;

    move-result-object v1

    .line 49
    new-instance v2, Ljava/lang/StringBuilder;

    const-string v3, "POST comment open by ID: "

    invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    iget-object v3, p0, Lcom/opongo/blogapp/activities/RecentPostsListActivity$1;->this$0:Lcom/opongo/blogapp/activities/RecentPostsListActivity;

    iget v3, v3, Lcom/opongo/blogapp/activities/RecentPostsListActivity;->post_id:I

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    .line 48
    invoke-static {v1, v2}, Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;)I

    .line 50
    :cond_0
    iget-object v1, p0, Lcom/opongo/blogapp/activities/RecentPostsListActivity$1;->this$0:Lcom/opongo/blogapp/activities/RecentPostsListActivity;

    const/4 v2, 0x1

    invoke-virtual {v1, v2}, Lcom/opongo/blogapp/activities/RecentPostsListActivity;->doRefresh(Z)V

    .line 51
    return-void
.end method
